# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-beetle-pcfx
pkgver=0_git20200109
pkgrel=0
_commit="7bba6699d6f903bd701b0aa525d845de8427fee6"
pkgdesc="standalone port of Mednafen PCFX to libretro"
url="https://github.com/libretro/beetle-pcfx-libretro"
arch="all !mips !mips64"
license="GPL-2.0-only"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/beetle-pcfx-libretro/archive/$_commit.tar.gz"
builddir="$srcdir/beetle-pcfx-libretro-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 mednafen_pcfx_libretro.so "$pkgdir"/usr/lib/libretro/mednafen_pcfx_libretro.so
}

sha512sums="28911d5c564359374d613825dc3c008713f68d2cd0bb53ff18e0f018e584f881af05a09da648a30f00b4c612d8179a6ec3ae5b6de48ab0dc48e580a2befe21ce  libretro-beetle-pcfx-7bba6699d6f903bd701b0aa525d845de8427fee6.tar.gz"
